home *** CD-ROM | disk | FTP | other *** search
- // Persistence of Vision Raytracer
- #include "shapes.inc"
- #include "colors.inc"
- #include "textures.inc"
-
- //----------------------- Definitions start here -----------------------
-
- #declare candle_C1 = texture {Shiny colour Brown} // used after RAW
- #declare LatheWorkTex = texture {Shiny colour Red} // used for POVRAY
- #declare LatheWork =
- #include "candle.inc"
-
- #declare Look_At = <251.751 0 0> // Center of object
- #declare Location = <251.751 0 -503.503> // Good camera position
- //----------------------- Display starts here --------------------------
-
-
- camera {
- location Location
- direction <0.0 0.0 1.0>
- up <0.0 1.0 0.0>
- right <1.33333 0.0 0.0>
- look_at Look_At
- }
-
- /* put down the beloved famous raytrace green/yellow checkered floor */
- //object {
- // plane { <0.0 1.0 0.0> -6 }
- // texture {
- // checker colour Yellow colour Green
- // ambient 0.3
- // diffuse 0.7
- // }
- //}
-
- composite { LatheWork }
-
- object { light_source { < 1210.000002622604 1450.200003147125 -1570.300003409386 > colour White } }
- object { light_source { < -100.0 1450.200003147125 -1570.300003409386 > colour White } }